added support for extracting nested multiparts