Added controller method to send in JSON for export
Renamed REST url
Removed whitespace