lua-plus-dict: convert any tuple to table for proper yaml output,
fix end-of-document marker for multi documents return.