JSON fix

Json fixed and collections being loaded.