Add support for embedded/nested documents

This is useful for cases where you are uploading files, and the data coming in is a nested array that is further mangled by a Behavior.