[FIX] SyntaxError: JSON.parse: unexpected end of data at line 2 column 1 of the JSON data