First try at json import/export