json dump fix for async