Added null check for MappingContext constructed with 'null' for
globalProperties