refactored messages to go through a WarningMessage object to make them easier to serialize as JSON
refactored messages to go through a WarningMessage object to make them easier to serialize as JSON

leto/new_opentree_api,leto/new_opentree_api