Allow optional marshalling of document/literal wrapped request and response elements, closes #940