benchmar: refactor json generator methods params