`capture` expects a string, so non-string content gets ignored. 

`capture` expects a string, so non-string content gets ignored. This fixes that by casting the custom value to a string.