code: private static Map<String, Object> readerToMap(JsonReader reader) throws IOException {
      Map<String, Object> map = new LinkedHashMap<String, Object>();
      reader.beginObject();
      while (reader.hasNext()) {
        map.put(reader.nextName(), readValue(reader));
      }
      reader.endObject();
      return map;
    }
docs: Reads the {@link JsonReader} into a {@link Map}.