Refactor event model json.