How to create a service sending JSON values?