stop = mapper.readValue(params.get("body"), Stop.class);
if(Agency.findById(stop.agency.id) == null)
badRequest();
stop.save();
// check if gtfsRouteId is specified, if not create from DB id
if(stop.gtfsStopId == null) {
stop.gtfsStopId = "STOP_" + stop.id.toString();
stop.save();