Fixed error in conversion if a value is not a string.
Changed phraseology so project is not activity and collection is now dataset.