fixed bug with certificates collection not clearing down request state preventing different clients from using different request formats and updated implementation of publishsettings to use subscription indexer