Added comments to .py version, python still returns wrong JSON