Fix issue where json wasn't being returned.

When the plugin command's JSON-request caching feature was implemented,
the resulting refactored method didn't actually return anything when
no cached JSON was available.  This should fix that.
Let's avoid the additional assignment.
Merge pull request #1268 from arusahni/master

Fix issue where plugin JSON wasn't being returned