Created dataFormator()

Need to subscribe it to events and call dataFormator() before
sendToServer()