Put ob_get_clean(); Before echo/json reponse on the server-side
ob_get_clean();
echo/json
Expl:
ob_get_clean(); echo "Text from Ajax reponse";