implement simple serialization for table component