[Preethi] Added provision for labels for two json inputs