Fixes Python3 issues
Fixes json bytes/str changes
Updates example script to handle json correctly in py2 and py2
Merge branch 'python3_support'