MARMOTTA-562: built common resource errors with the requested format