PEP8 tg2utils.py
PEP8 tg1utils.py
PEP8 json.py
PEP8 controllers.py and fixed translation bug