Background
As part of T264343: Have a special page for mentors to sign up, the Growth team is working on a sign up form for mentors. We decided to create a structured mentor list, MediaWiki:GrowthMentors.json, to serve as the new canonical location for the list of mentors, similar to what community configuration does.
Task objective
Write a maintenance script that collects information from the wikitext mentor list and saves it in the structured mentor list.