fix(InternalStore): invalid value on parse

if you get an invalid value JSON.parse throws an error

localcache = {
'yolo': undefined // should be "{swag: true, isAuthenticated: true}"
};

store.get('yolo') // JSON.parse error is thrown

localcache