SOAP-752: Move the rest resource editor to a separate class