rearrange scanner_spec specs
allow scanner to handle strings