Got some basic object input/ output working. Need to work on nested types.