Maxlenghts and starting to export JSON data