Better handle undefined resource type

Previously all undefined resource was defined as holding a string type value - Now if the processed value is numerical, the resource is defined as holding a double value
7 files changed