[add] cascade deletion
[upd] API now understand json POST/PUT Request