Object mapper for key-value data stores