refactor yaml mapper to only export composed functions