rework rest backend option handling