Pits question: directly on the map
Solution: (json_encode adding a second parameter)
JSON_FORCE_OBJECT