create a line to be persisted -> create a JSON document to be persisted (more precise)