Add functionality to capture page details from meta/title tags and write them to a JSON file
add tests, remove logging