def METHOD_NAME(self, tmpdir):
    """write_json should be able to serialize various data types."""
    data = {
        'int': np.int64(1),
        'float': np.float64(2.0),
        'array': np.array([3,4,5]),
        'series': pd.Series([6,7,8])
    }
    file = Path(tmpdir) / Path("data.json")
    utils.write_json(data, file, include_version=False)
    with open(file) as f:
        assert json.load(f) == {
            'int': 1,
            'float': 2.0,
            'array': [3,4,5],
            'series': [6,7,8]
        }