Change sent data to pure json