For property values that are strings, they are just transmitted as string literals. For property values that are not strings, this calls Object.ToString() to produce an expression that JavaScript can evaluate to produce a number, string, array or object.