Nested Mapping Support

I have added nested mapping support for subdocs in schemas. Let me know if I need to add/edit a test for the change.