Revert "Add pyyaml dependency"

This reverts commit 8f238b930bdb68a3da72fcb3951fe6045d658701.