attempting to serialize to char*