Import json into database

Problems with SQL generation, try parameters next time.