this avoids storing the connection-local data in the global database; or copying the metadata objects around to avoid the former references #101