return false rather then 1 when json value is an unexpected nil