BZ-1002586: Saving the ContentMarshalerContext on a custom component to avoid serialization conflicts on eap.