Implement mongoize to deserialize