Fixed generate_visualization_json_system
Save system as a var in Class