Added a Python formatter to the file.serialize state