add package.yaml
bundle "which" dep
add binary
fix tests
add format-as-curl function