json main integration