Changed something regarding JSON export and implemented a test of IData