variableSerializers.addSerializer(new IntegerValueSerializer());
variableSerializers.addSerializer(new LongValueSerlializer());
variableSerializers.addSerializer(new DateValueSerializer());
variableSerializers.addSerializer(new DoubleValueSerializer());
variableSerializers.addSerializer(new ByteArrayValueSerializer());
variableSerializers.addSerializer(new JavaObjectSerializer());
if (customPostVariableSerializers!=null) {
for (TypedValueSerializer<?> customVariableType: customPostVariableSerializers) {
variableSerializers.addSerializer(customVariableType);
}