Added functionality to generate JSON from APAS report