[Mediawiki-api] Inconstistent formatting of results in JSON