Implementing getObjectValue on the HEXValueFormatter