initial go at object serialization