name table serialisation still needs a little work