api request to convert a .srt subtitle file into a json object