a non-blocking loader for JSON resources