Improved _get_ support

Added support for get_key and in the process of supporting
get_keyvalue_array