Converts SRT subtitle files to JSON format