Bug Fix: Removed encoding so this code can run in python 2.x clients