Fixes some JSON conversion mistakes that Kevin made.