add support for multipart and multipart result joining