implemented request encoding for NSArray objects