[](https://hamel.dev/blog/posts/prompt/#cb7-1)I was given the following response, which was not parseable as JSON. [](https://hamel.dev/blog/posts/prompt/#cb7-2) [](https://hamel.dev/blog/posts/prompt/#cb7-3)"{\n \"pet_type\": \"dog\",\n \"name\": \"Buddy" [](https://hamel.dev/blog/posts/prompt/#cb7-4) [](https://hamel.dev/blog/posts/prompt/#cb7-5)Help me correct this by making it valid JSON. [](https://hamel.dev/blog/posts/prompt/#cb7-6) [](https://hamel.dev/blog/posts/prompt/#cb7-7)Given below is XML that describes the information to extract from this document and the tags to extract it into. [](https://hamel.dev/blog/posts/prompt/#cb7-8) [](https://hamel.dev/blog/posts/prompt/#cb7-9) [](https://hamel.dev/blog/posts/prompt/#cb7-10) [](https://hamel.dev/blog/posts/prompt/#cb7-11) [](https://hamel.dev/blog/posts/prompt/#cb7-12) [](https://hamel.dev/blog/posts/prompt/#cb7-13) [](https://hamel.dev/blog/posts/prompt/#cb7-14) [](https://hamel.dev/blog/posts/prompt/#cb7-15)ONLY return a valid JSON object (no other text is necessary), where the key of the field in JSON is the `name` attribute of the corresponding XML, and the value is of the type specified by the corresponding XML's tag. The JSON MUST conform to the XML format, including any types and format requests e.g. requests for lists, objects and specific types. Be correct and concise. If you are unsure anywhere, enter `null`.