Convert Java collections to mutable collections

Java collection classes were converted to immutable Kotlin versions,
which was incorrect since Java collections are mutable.