taking out bad json