reverse_relationship bug fixed
small change for json in routes
api first draft