RESTful API to mongodb documents for expressjs applications