cleanup json url