Moved ZNRecord and ZNRecordDelta to api.model, fixed formatting