TST: json test file, make encoding explicit

Replace hidden BOM with explicit utf-8 encoding. closes #6067