adding rest plugin to handle json rest requests, adding pom too to be compatible with the project