Find the error in the JSON format shown to the model.
Codejavascript
const prompt = `Extract the person's details.\nReturn ONLY JSON in this exact shape:\n{'name': string, 'age': number}`;
const response = await getCompletion(prompt);
const data = JSON.parse(response);