Add check to see if Safari is running, dictionary result output in json