Revert "keep old function with minor changes"

This reverts commit b80364af49b283830e1a50d14ab171fec2567ca4.
apply transformations on hex string of binary data

Signed-off-by: Chirayu Chiripal <chirayu.chiripal@gmail.com>
display binary & blob fixes

Signed-off-by: Chirayu Chiripal <chirayu.chiripal@gmail.com>
Fixed test cases

Signed-off-by: Chirayu Chiripal <chirayu.chiripal@gmail.com>