add support for arrays to PluginStore

Dunno, why that wasn't in there from the beginning, JSON supports arrays as well as hashes as the root-object. Having to wrap a list into a hash just so that the PluginStore doesn't complain is weird. Therefore, I added "array support" to the plugin store.