Restful service for Apache Phoenix