working on building the json map