Updated JSON call for main function.