A simple json splitter, which splits an array in multiple files