fix to buffer filtering -- was treating '{' and '}' inside strings like part of the JSON structure