How to get unserialized data in external task?

I am using camunda/camunda-external-task-client-js for executing the external tasks, The variables I want to work upon are serialized objects valueInfo: { objectTypeName: 'java.util.ArrayList', serializationDataFormat: 'application/x-java-serialized-object' }, is there a way I can get those variables unserialized (using the js client).