Updated parser to generate different json objects accoring to the sections