Add partial response support to REST API + small stuff