Turn the CoreLabel OutputFormat into an enum