Added a pprint.pformat Jinja filter to match the file.serialize state
Add unit test for the "python" jinja filter

Missing from c91fe1c (pull req #7866).
Merge pull request #7880 from whiteinge/python-serializer-filter

Also add a Python serializer filter