Add multiple output formats to context manager