Added support for collections within nested objects (thanks rjsmith)