changing output format for better shell scripting. assumes keys don't
include new line character.
readme update with example