JSON Decode a classe personalizada com o membro HashMap usando o GSON em Java

Tenho a seguinte classe:

class IndexItem {
    private String word;
    private HashMap<String, Integer> docs;
    private Integer total;

    public IndexItem(String word) {
        this.total = 0;
        this.docs = new HashMap<String, Integer>();
        this.word = word;
    }

    public IndexItem() {
        this.total = 0;
        this.docs = new HashMap<String, Integer>();
        this.word = "";
    }
}

Também tenho a seguinte string JSON codificada a partir de uma dessas instâncias de classes usando o GSON:

{"word":"refer","docs":{"c84ada58bb47e7ee8fab14d6d0ae1978.html":7,"7664010c28b7366813f52b30fd683f43.html":6,"a51ed147e16ea44244d7362367caeb4e.html":2},"total":15}

Tentei executar o seguinte comando para decodificar essa sequência:

IndexItem item = new Gson().fromJson(jsonStr, IndexItem.class);

E recebo a seguinte mensagem de erro ao tentar executá-lo:

Exception in thread "main" com.google.gson.JsonParseException: 
  The JsonDeserializer MapTypeAdapter failed to deserialized 
  json object
    {"c84ada58bb47e7ee8fab14d6d0ae1978.html":7,"7664010c28b7366813f52b30fd683f43.html":6,"a51ed147e16ea44244d7362367caeb4e.html":2} 
    given the type class java.util.HashMap
at  
   com.google.gson.JsonDeserializerExceptionWrapper.deserialize(JsonDeserializerExceptionWrapper.java:63)
at
com.google.gson.JsonDeserializationVisitor.invokeCustomDeserializer(JsonDeserializationVisitor.java:88)
at 
com.google.gson.JsonObjectDeserializationVisitor.visitFieldUsingCustomHandler(JsonObjectDeserializationVisitor.java:116)

Sou novo no GSON e não lido com Java há muito tempo. Então, minha pergunta é:

Existe uma maneira de o GSON decodificar o HashMap na minha classe? Ou estou fazendo tudo errado e devo adotar uma abordagem diferente? Se sim, onde devo procurar?

questionAnswers(2)

yourAnswerToTheQuestion