Make tag lower case in case of error.
Add new line at the end of the json renderer.