Import/export a core data managed object from/to a dictionary.