Define expect_serialized_response parameter as array when calling addMethodCall