json to csv script, refactored, improved nested mapping with arrays, improved mapping
updated readme