Added handling json exception when inner json object is null