add define-record-writer
use define-record-writer to set custom writer to <array> type
Merge branch 'define-record-writer'