Added compatibility for new gdocs format