which output format supports associative arrays is NOT a matter of configuration. The format either does, or it doesn't.
Also, the current default for getUsekeys disables keys for the "php" and "wddx" formats - although associative arrays should work fine with these. As far as I know, only XML output does not support this (but this needs checking).
So, Wikibase\Api::getUsekeys() should just return false for formats known not to support associative arrays / maps, and default to true otherwise. Test cases should be adapted accordingly.
Version: master
Severity: normal
Whiteboard: storypoints: 1