json example: test cleanup based on jshint feedback