If you define a REST handler, then initPlugin gets called when the REST function is invoked. However the $web and $topic params to the initPlugin are not
valid web.topic names.
It's reasonable that some REST calls will not pass in this info, in which case the plugins should be passed (undef, undef). It is unreasonable
that initPlugin should be passed something completely different!
duplicate of Bugs/Item2458 - SD