Put id and data to stdout
fixed typo in hash iteration

Use | | instead of [ ]