FIX: Restcontroller

The Deletion is fixed. If the entity is not find return with a json response.