Added parsing by url function and json output