B 62703 Switch to using objects instead of byte arrays

This change makes the datastore deal in Serializables instead of pre serialized byte arrays. This change has the extra benefit of speeding up the datastore by only serializing when going over the wire.