Refactor: scheduler: convert populate_hash() into an XML child iterator
... named unpack_nvpair(), and add a doxygen block