first pass at making data.json emitter filter bad input