sets KeyValueStore's read handler's context to the store instance
adds PersistedTree + version bump