added override of JObject::setProperties(), to use FOFModel::setState() instead of set()