add functions
fix Comodification in JsonArray
swap UAI attributes