Implement string/list serialization