Do not encode undefined fields