[minor] Allow options.plugin to be a string which is reduced to an object.