added nil checks for bus json