Use built in decode_value method when available