Python 3 fix: json.loads expects text, not binary