Merge "Add a flag to choose the output format for the am profile command" into main