Fixed loading bug, fixed unicode output in JSON export