Fixed undefined "kv/iv" objects

"result.results" in the PS parser function had no kv/iv objects and raised an error when attempting to set.