removes extra whitespace and gem blacklight-marc