trying to get load json and xml loaded properly