return json after create