Simple key/value in memory db using json