fix mime type in rest controller
better logging