Added extractSingleItem method to IOHelper