working socket message structure, can parse everything as arrays of hashes