fixing problem with entity references
allow mocking for GsonXml