use POST for on/off/toggle/action/presets

the old entry points are still present, but on/off/toggle already emit
a deprecation warning in the debug log. However, menu.json was changed in
an incompatible way (now returns a list of hashes, not a list of lists)