Warn if a JSON property is not a primitive value