CSV requirements to serialised JSON