Fix some JSON validation errors