Change index patterns export/import

Hi all,

I m trying to change a few index patterns.
Since there are already a few visualizations i want to avoid having to change all visualizations.

So my idea was export the index pattern, change, import it again, should this work?

Problem:
if i export and import - it gives success.
If i export , change and import - it fails with SyntaxError: Unexpected end of JSON input

The change is just in the title, something like:

from:
"title": "lab:my-logs-*"

to:
"title": "lab-0:my-logs-*"

by the way will this change the used indices in Elastic? only here i see the reference to them.
Any ideas?

version-7.5.2

Thanks,

nevermind...i think the problem was the tool to format json.

can be closed.