Fix wrong JSON structure on-wire