Cleanse attributes before saving to Mongo

As Mongo documents return nil when an unknown key is requested, there is no need to explicitly store them, incurring the overhead of an additional key in the document.