Fixed json loading if the code is running a server on a server