1.x importexport

- complete `exportJSON` implementation (omit derived from output stream)
- implement `importData` method which can import from a stream or an array of model export objects
- write tests for both methods