use newtype to avoid orphan instance
ToJSON for MongoDB keys should be text, not binary

closes #136