Work with array in {k,v}