EDI Message Unwrapper in Java