Better to add 'publish' to json and then call super.