Improve the logic to resolve URI Template in href
Provide support for reading STDIN