Get the JSON value for key parameter with nil as default value
class function getValue(key: string; default: TJSONValue = 0): TJSONValue