moved to yajl from yaml. extracted dump/restore to single place