Read from JSON file and GUI handling