Add capability for alternate serializers. Add YAML as another default serializer (if pyyaml is available)