Restore outputformat for use in API