supporting xlinks in xml based error responses and fixing XmlSerializer constructor call