modify RestMessage return value