Fixes: #3030 Using the USE_LEGACY_JSON_RPC flag in OPSI module