Allow hexadecimal integer formats. 

Reviewer: trivial

Allow a hexadecimal value to be specified as a string field and retrieved as an integer.
Values specified in this way must start with 0x or 0X.

JSON does not support hexadecimal number formats, which becomes annoying and tedious to workaround.