Change sending method in order to facilitate parsing method in the server