express/rethinkdb json rest api