Sounds like you're about to re-create fulcro: http://book.fulcrologic.com/#_fulcro_client_database
Hmm, I can see how the I'm app DB of fulcro (which is pathom right?) is similar to this, but with pathom you still have to write resolvers that traverse the db map. Or am I missing something there?
might want to look at this https://github.com/joinr/spork/tree/master/src/spork/entitysystem