Check compatability of tc.encode() with formatValue() from version 0.2