Makes JSON output consistent.