render json response instead of js