Isn't a "stringified dict" just JSON? Why not use the JSON module instead?