#159: First stab at caching structure using serialization