BERT serializer for your Pythons