user map for locations index and add by name, also err handling for bad json