refactor encoding/decoding logic from Wasabi to Connection
remove duplicate test
implement .array type method
lint