Render json at end of controller action, remove all redirects