Modify string tables format

Now use string type for the "index" field, to match the strings used by
bt_lib.
Initial HCI packet building support