removing the try/catch and replacing with separate checks for JSON binding and the existence of the project URL