Made encodeArray() compatible between XML and RSS
Added encode() method to encoder interface