changing json parsing to linked hash map