Improve error messaging on keyvalue GET
Separate getter and setter functions in key-value interface