s/Value/TVal/
s/array/getArray/g
Initial YAML export

Output does not look too nice (e.g. not sorted by id). Maybe I’ll fix
it later; reading is more important now (and trickier).