print using yaml