Make {}:kv {}:p {}:k {}:v behave according to spec