Bug - import/export now output JSON as individual objects

* For JSON as array, json.array=1 behaves as before
* Tests and add-on scripts used in import tests were updated