Handle undefined values as nulls in GremlinFunction#stringifyArgument