I needed to batch import quite a few records into a Zeroshell installation. I hacked up a quick example automating the creation of static DHCP records using Safari (in my case) that I have uploaded at: https://bitbucket.org/dme26/zs-batch-load.
As noted on the readme.md file in that repository, what’s there can easily be automated further, and with a little more difficulty can probably be automated in a much more robust fashion (e.g. using a tool such as http://www.seleniumhq.org/, generalising across browsers, etc.)
The example shell script in that repository opens a TSV file and when prompted reads the file line-by-line, at each line loading a chunk of JavaScript into the MacOS clipboard, that can then be pasted into the Safari JavaScript console.