Can engine be configured to persist strings as Spin(nified) xml/json?

Is it possible for the engine to be configured as to persist all String objects as serialized XML or JSON?