add YAML serializer to PSK security plugin