Fixed a bug related to setting parent of JObject while importing