Encode float params in binary
Use binary encoding for bool