grains.t fixes

Quoted keys in cases.json and removed allow_barekey from grains.t as it is not implemented in JSON::XS