refactored via rubocop & deleted custom response class which has same behaviour as base rack response class