RESTlike api (without the hypertext link stuff)
for node.js and mongodb