str.decode does not use kwargs and utf-8 should be lowercase