ASM-2384 IOM firmware version is not present for FTOS 9.5

Updated the process of populating facts to make it compatible with all 9.x versions.
puppet facts was assuming a string but facter process was sending the value in form of an array