Added XML deserializer for error messages