Fix empty json body error from Halidator