add force encoding after Marshal.dump