More efficient keys and querying of beans in mapdb