switch to yml instead of marshal for serialization