don't alloc object if json field is null