I anticipated that we weren't going to have the double encoding forever, so the error inspector code (test linked in start of thread) has support for single and double encoded JSON.