added NSManagedObject+JSON