Prototyped a simple document editing layer; changed the store read/write methods to deal with documents (instead of JsonObject). 

This is an extra layer of indirection, but it does offer the benefit of being able to record changes.