introduced validation for JSON url