fix yaml being an optional dependency