- in the client side, there's no special management for arrays.
- in the client side, for the parameters, the registered JsonMarshaller are not called.
1. On the client side, we should manage the arrays case: org.nuxeo.ecm.automation.client.jaxrs.spi.JsonMarshalling.writeMap(JsonGenerator, Map<String, Object>).
A test is implemented here: fix-
2. We should use the same code to manage marshalling for input, parameters and ouput.