Send JSON to the server