REST resource model mapping