If in json nested field

Check this thread