Separate method for loading json content.