use maps for json objects