public Collection<Category> buildCategories(JsonArray array, Category parent) {
		Collection<Category> categories = new ArrayList<Category>();
		
		// Creation of a category for each JsonElement contained in the 
		// JsonArray.
		for (JsonElement element : array) {
			Category category =  buildCategory(element.getAsJsonObject(), parent);
			categories.add(category);
		}
		
		return categories;
	}