changed how complex numbers are represented in yaml output

[1,0] -> (1+0j)
added possibility to serialize arrays as pure lists in yaml