Moved the sending of JSON data to a different service