Two-way serialization for Frame class
implemented KissFrame class