Fix invalid json files reported by Scripty REVIEW:124070
(cherry picked from commit 0440cb7a0fa13e72ea96cbd8dd4ed323cda2fd03)