Convert LINE SEPARATOR to newlines for textual data in API calls

Lightroom uses the unicode LINE SEPARATOR character for newlines so this converts those for the appropriate fields before making API calls. I've done the reverse too for consistency though it isn't strictly necessary.