Fomating of content for index