autogenerate json implemented
solve #10