add format as stream by mime-type