added a new Java sample
improving the XML to JSON samples. added JSON to XML, so that it can be added after XML to JSON to demonstrate mediation in both directions.