clean up Post controller by removing json