add export and import asset definition to/from JSON