add types and instances for converting json <-> sql
POST to insert row.