Fixed NullPointerException when receiving XML messages (ItemType and
ProducerType were null on the receiver side)