Override toMap(), automatically convert [id] to [_id] as a key.
Adding DocumentFactory class.
Now uses DocumentFactory instead of ModelFactory.