How to fix Unexpected token ) in JSON in React | DevErrors