Added code for printing iam_instance_profile in correct format.