fixed issue in owin metrics whereby global metrics were not serialised in json endpoint