JSON API parsing error, single quotes used for errors like "['BAD CSRF']"

My JSON parser fails when retrieving certain errors, so far I’ve only expierenced it with “[‘BAD CSRF’]” being returned when using the /groups/{group_id}/members.json endpoint (as single-quotes for string delimiters is improper JSON). Quick search in github revealed the following:

I imagine there might be some other areas with improper manually-formatted JSON as well.

「いいね!」 2

Mind sending a PR through to fix both spots?

「いいね!」 3
「いいね!」 3