Introduce stub for util.safeStringify method

This functionality will be needed in order to consistently generate
checksums of serialized objects.