[jmdb] Fleshing out api