Implemented method to get CSV headers from JSON. Fixed toJson() for customers missing the last field.