add lua: convert a table from lua to cpp