Restfully map ruby objects to documents in mongolab collections