Fix indent serialization because of [...-0]; fixes tests