Retrieving Serialized JSON process variables in expression and inline scripts

Hi,
I am setting a java object as Serialized JSON value in process variable before starting the process.

processVariables.put(“next”,Variables.objectValue(customObject).serializationDataFormat(“application/json”).create());

I would like to retrieve this variable “next” in User Task form (input/output Parameters) and also in a Inline free marker script?

Anyone has any idea how to achive this?