sets up a json object for the main map option