Better fix for ERRAI-482 that does not rely on @AfterInitialization
fix to buffer filtering -- was treating '{' and '}' inside strings like part of the JSON structure