Product name needs to be coerced to unicode before decoding it. Forced ordering to be the same as the config file by iterating over the product ids instead of the dict items.