add table namespaced data datom keys and smarter table name passing