added JSON lib in pom.xml and removed sample code from REST-API