Handle ClientMethodInvocation serialization with JSONArray as parameter
(#12532)

Change-Id: I67306d2b9d151614f72455063b0d01423aeed4c1