Add support for rest config in amm-ui