Fix indenting detection in JsonManipulator, fixes #1788