now supporting XML and JSON, added root resources + mvn dependencies