Fixed adding/duplicating rows for JSON files. Issue #68.