Currently, querying the file extensions on a site returns an array of objects in the form "ext": "foo". Instead, this should simply be an array of the extensions, like how functionhooks are shown.
Current output
{ "batchcomplete": "", "query": { "fileextensions": [ { "ext": "tiff" }, { "ext": "tif" }, { "ext": "png" }, { "ext": "gif" }, { "ext": "jpg" }, { "ext": "jpeg" }, { "ext": "webp" }, { "ext": "xcf" }, { "ext": "pdf" }, { "ext": "mid" }, { "ext": "ogg" }, { "ext": "ogv" }, { "ext": "svg" }, { "ext": "djvu" }, { "ext": "oga" }, { "ext": "flac" }, { "ext": "opus" }, { "ext": "wav" }, { "ext": "webm" }, { "ext": "mp3" }, { "ext": "midi" } ] } }
Proposed output
{ "batchcomplete": "", "query": { "fileextensions": [ "tiff", "tif", "png", "gif", "jpg", "jpeg", "webp", "xcf", "pdf", "mid", "ogg", "ogv", "svg", "djvu", "oga", "flac", "opus", "wav", "webm", "mp3", "midi" ] } }