points and intervals must mach expected size

for OpenSourceFieldlinguistics/FieldDB#1455
and
for OpenSourceFieldlinguistics/FieldDB#485
basic conversion from textgrid to json is working.