Added willImportJSON function. Subclasses of machine generated code can override it to preprocess incoming json data.