fnally worked out how to seperate the people yaml data