Provide validation functions to check proper formatting of loss and metric dicts. Can extend to tasks as well.