coerce the set into an array so it can be parsed
fix plugin_endpoint test