Angular2 – how transform json received from api to classes instead of interfaces | Dark Hacker News