Ouputing all trips to JSON via /api/trips

Also fixed indentation.