Add object type id for ws_transaction type

Closes #244
And you didn't free the actual array.