JObject::setProperties

Set the object properties based on a named array/hash.