fixes #6 Remove var_export/eval by serialize