why 'none'? Why you can't use normal python None type? May be it should return json.dumps?