An automatic serializer for arbitrary Python objects