make REST interface case sensitive

This should be fixed on the service side as well but this fixes REST in the API client for now.