fix the getValueAsString and getKeyAsString in pico_record