fix: check if body is json