Add unit tests to check json export
Sorry, wrong target branch. Was intended for a fork. Since I cannot delete, I close it.
closed