adding json in analysis object