Sending position to server in correct format.