Add keys command. Fix type conversion issue.

Hi. 
I added support for the keys command. Also added data conversion to the string.