a script for testing direct json import via api