added the functions for  (basic) conversion csv <--> json