I haven't done the gender change either, but my name change didn't require a hearing, it's done administratively by the judge here in Massachusetts.
There was one spot on the application asking for the reason. I wrote that I was transitioning from male to female and I didn't feel that my old name fit the person I had become. When the court order showed up at my house, here's what it said. Keep in mind, this wasn't a gender change.

That's just someone, either the judge or a court clerk being a fine human being.

I hope that your procedure goes well!
Hugs, Devlyn