Not intended but expected. The current implementation of hardcode is very simplistic. For each (root) attribute in the hardcode object, we hardcode a variable in the compiled function with
JSON.stringify(value) as value. Functions are ignored by
JSON.stringify, so we use .toString() alternatively for functions at the root level, but we don't do it recursively yet.