Write code that uses the OpenAI API to correct an invalid JSON string in order to make the string parse-able in Python's default json.loads function. There should be exactly 2 paragraphs separated by the markdown divider: ***.
user