Added transform function for entity id passed to MDX server