dump and load marshal data via lua, and equal to ruby marshal