Fix issue where plugin JSON wasn't being returned

When the plugin command's JSON-request caching feature was implemented, the resulting refactored method didn't return anything when no cached data was available.

This should fix that.