convert response errors to string to fix marshalling issues