attempt to serialize better