support embedding of an Entity

This is really for MongoDB.
Also support the ObjectId type via Objectid