title: How to read invalid JSON format amazon firehose
body: <p>I've got this most horrible scenario in where i want to read the files that kinesis firehose creates on our S3. </p>
  
  <p>Kinesis firehose creates files that don't have every json object on a new line, but simply a json object concatenated file.</p>
  
  <p><code>{"param1":"value1","param2":numericvalue2,"param3":"nested {bracket}"}{"param1":"value1","param2":numericvalue2,"param3":"nested {bracket}"}{"param1":"value1","param2":numericvalue2,"param3":"nested {bracket}"}
  </code></p>
  
  <p>Now is this a scenario not supported by normal JSON.parse and i have tried working with following regex: .scan(/({((\".<em>?\":.</em>?)*?)})/)</p>
  
  <p>But the scan only works in scenario's without nested brackets it seems. </p>
  
  <p>Does anybody know an working/better/more elegant way to solve this problem?</p>