New method to take info from parsed json. Create classes.