Split up JSON data into multiple files based on shared characteristics.