Added JSON model loading.