Added magical option so JSON are generated ok when invoked from Python.