a little not nice keyedRows implementation
map implementation of keyedRows