Dashboard module info should be json array

On the dashboard edit / create page the module info field should be a
json array of strings. This commit parses it as such and adds a bit of
validation around what's coming through.