John D. said: +1 I have become very fond of this approach, though different use cases, and recommend storing the data flat so the formatting is the same for your setAttrs() call. Even store all the data in a single JSON separated by NPC type/named, and just grab that chunck. Agreed. If you can use the same keys on the object as attribute names its ideal. But if you have any repeated sections, it'll be a bit trickier.