lib: add 'keys' and 'values' methods in Map