fix data conversion between perl and cljperl