[mit] Add support for multiple formats