Although this an exceptional condition and it's not supposed to happen unless there's a problem with the software (for example unversioned requests made against a revision-stabilized page), the standard for MediaWiki APIs is to treat the parameter like a failed filter and return an empty result set. Currently the API returns the requested key with a null value.
Example of a such a bogus query vs. how it's supposed to look like.
"mapdata": [ "{\"_ca5fe2a1449687fe54ae1fdbde7b637cd662d3b7\":null}" ]
"mapdata": []
"mapdata": [ "{\"_ca5fe2a1449687fe54ae1fdbde7b637cd662d3b7\":[]}" ]
Make sure that consumers can handle the new response.