factored out basic validation of SerializationData