json reader works and added class for blogposts