make it valid json and fixed smart quotes