add format to options hash