Agree with JSON. But, surprisingly html and latex perform slightly better than markdown for more complex tables.
Check out this paper - https://arxiv.org/abs/2506.13405