Prevent stack overflow when requesting plain JSON data.