fixing date and url formating in json