added workaround to avoid exceeding the maximum message size of WCF or IIS