RESTful service for MongoDB Entity for Java