SubRip parser and stringifier