Generalised JSON conversion for multiple types. TextGrid, DurationTier and PitchTier are currently supported, although DurationTier only through an ugly hack. Added .gitignore