code: protected Map jsonStringToMap(String json) throws IOException {
          return new JaxbJsonSerializer<HashMap>(HashMap.class).deserialize(json);
      }
docs: A helper method that converts a json string into a map object.
  
  @param json the json string
  @return a map representing the json string.
  @throws IOException