by the way, as far as I know params is just a standard java.util.HashMap object
When the JSON is deserialised to build the params map it will deserialise the array using a generic method that probably output a List<Object>so the actual elements in theory could be anything. If you know you are only putting numbers into the array then casting to List<Number> as I mentioned above should hopefully work