basic loading functionality for JSON added (without repeats)