Added a function to generate the new analysis section in info.json

After the analysis is complete, we now write back to the info.json
a new section with the information we need for the static search
UI.