Add function to dump all version components