Match the style of input JSON to the style used in output. 

 Fixes awscli issue 187.