doing some ground work for if no information found
validation to get ages from json. needs refactoring. changes to average age calculation based on invalid ages