added congress method for json generator