Updated debug print statement parameter types.
Added more attribute encoding functions. Also slightly changed for Array Element values are represented, to simply design.