Fixes #3

Updates the schema to be compliant with mongo 2.6