added possibility to create keyvalue object made by two vectors