Use system line separator

Use system line separator when writing shards of json rows.

Add more test coverage, examples and documentation.

Add a convenience module to make using the package more concise