How do I get thing.attributes to create hashes for embedded items?

OMFG. Wow. Talk about the simplest possible solution! Thank you, flash!