Fix #1653 REST API attribute update for categorical, mref and xref values