fix None type for integer and number json types