Fix formating for post data