fully rewrited logic

json based solution
Merge branch 'master' of https://github.com/fape/service.subtitles.supersubtitles