Migrating to Gson + Sample Code to execute XPath expression obtained from Schema