Not really looking for "magic bullet" solutions, just solutions.
I'm definitely a Pascal beginner, and this is the beginner section.
A trick we use in the CFML world is to serialize complex structures into JSON strings, which can be loaded and saved as any string data, and then deserialized into complex structures again.