Why not 
```
return NetworkConfigurationSerializer.render_for_cluster(cluster)
```
?