def METHOD_NAME():
    assert b'{"d":[0,0,0,0,0]}' == JSONSerializer().dumps(
        {"d": np.zeros((5,), dtype=np.uint8)}
    )
    # This isn't useful for Elasticsearch, just want to make sure it works.
    assert b'{"d":[[0,0],[0,0]]}' == JSONSerializer().dumps(
        {"d": np.zeros((2, 2), dtype=np.uint8)}
    )