metric rest api changed. 'message' dict contains one or more nested dict now and 'default' value is used for metrics value