Change the formart for query dicts in order to make easier handling from/to Javascript