Respond with id and data of created object