param data { Object } param key { string } internal export const getParsedValue = ( data , key ) => { try { return data [ key ] ? JSON . parse ( data [ key ] ) : undefined ; } catch ( e ) { throw new Error ( `Unable to parse ${ key } argument string` ) ; } } ;