Fixed bug preventing large asynchronous JSON requests from working