added json importer/exporter to make migrations easier