[Bug 831716] Moving legacy code out of perl-JSON-RPC breaks Bugzilla