finished data munging for freebase