A quick dirty and incomplete json endpoint for mongo