Restructured errors to native Symfony exceptions and added data formatters