Register a table writer function.
table_format : string
The table type identifier. This is the string that will be used to specify the table type when writing.
function : function
The function to write in a table.
force : bool
Whether to override any existing function if already present.