Swap to synchronous json loading to prevent errors.