Working RestResource configuration