The newline is only in the JSON, not in the resulting authorized_keys file so I'd just leave it as is