Don't include optional fields if they're left empty.