api/paths_controller from old geo_controller
new path type
fixing objects JSON