add necessary fields to message
first pass of XML parsing filter for message marshalling