Basic json parsing, add classes