Sketch of a rails + mongo REST API server for JSON, railshock 20140122