added JSON service

api asynchronous