refactored exception mappers and reworked attributes on return of an object