json/rest/scotty webservice (component for larger project)