fixed get_json with None return value