JSON is just text so we already support it.
It is an inefficient representation for LLMs given large amount of duplication within the format so it would waste a few tokens, but overall it will work. I would recommend running a script on it and reformatting to improve RAG performance.
It is very hard to do this automatically cause JSON can be very nested and picking a perfect domain specific text representation highly depends on the domain.