Refactor message field sanitization into ORM setter methods