"Rate Limit" Error is not in JSON format despite sending correct accept header

Hi,

When hitting a rate limit, the error is sent in text format with a body of:

“You must not exceed 1000 requests per 60 seconds”

This also happening with some other errors as i have pointed out previously.

Thanks