fields are now being stored along with their type in index