add trim to path and value. when there's a leading space, ingest sometimes fails. ISLANDORA-711