load json as external resource