fix orcmd unpack by adding scd framework for datatype functions