Fixed up JSON problems.