Load configuration from JSON file using tagged structs.