fix: check if body is converted to array