fix REST option handling

+enforce naming scheme
+convert rest flag to processing option