Breakig change to middleware options. Now all middleware uses a map of strings for their options.