I understand you are working with JSON files. However I liked the idea of having a generic script that would display columns for a folder by reading a file within that folder.
I extended this XML/XPATH script to support doing that. You can use it to create custom columns that should do what you need. You will need to replace your info.json, with an info.xml.