cast the bit length from the command line examples to int

* This change lets the subsequently encoded JSON pass the jsonschema
 validation that occurs in barbican