bin: generate mock `.json` from actual server requests

return verb + endpoint.replace(...) : the first / will be replaced with a -, just as you want