working export and import to JSON
test code