JSON to CSV parser is broken
If the first record does contain a null value for an attribute where other records contain data this data is lost and breaks the parsing.
Reason: The attributes of each record may have different data compared to others in the result array.
Suggested fix: Parse the fields of each record and add missing fields to an overall fields array.
Edited by Sebastian Stohr