formatting post data to json

still getting 406