Implemented nested configuration and marshalling