Convert to keys, maps in json