parse_milestones function

Parse milestones from get_milestones