Change json parsing
What does this merge request do and why?
Change the json parsing logic to first extract out the json block
Ref: #817
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
Merge request checklist
- I've ran the affected pipeline(s) to validate that nothing is broken.
- Tests added for new functionality. If not, please raise an issue to follow up.
- Documentation added/updated, if needed.