Json curl example, restore data type on primary key