Add getType function to YGLJsonObject to return the data type/class of a property.