json nil check normalization