Add better case matching in ContentApiWrite