Cleaning data and fixing the POST response