Refactored the rider rest endpoint to use flask-restful.  Fixed double
json encoding problem