Uncaught (in promise) SyntaxError: JSON.parse: unexpected character at line 2 column 1 of the JSON data