working on CoreDataJSONCompatibility