sending coord in JSON