Added support for embedded arrays within MongoDB documents