Pretty printing rpc.cast and networks + serializers

Almost no code changes, all tests passed