Even if you get a mediator (which I'm generally in favor of), both parties should STILL either retain, or hire-by-the-hour, their OWN FAMILY LAW ATTORNEY to advise on the final mediated agreement before you sign off on it.
In fact, any good mediator worth their salt will also tell you that.