Why -> To obtain correct `null` javascript value on front-end.
This value on front-end will be json.loaded. If we pass just None, it will be loaded as string 'None'. If we pass json.dumps(None), on front-end it will be loaded as javascript False boolean value.