fixed xml and entity name issues in REST calls