Correctly return the serialized table
Add pending tests for serialization