Keep Struct order on output

Should not matter for usage, but helps on diffs.
Remove definitions and load struct from json
Ordered json struct and pretty print output

The order is important when parsing records and such.
Parse TSetupHeader using json data