Add loss type as mandatory attribute of risk outputs