Fixed JSON body loading when body is empty.