ActiveModel::Errors class is not designed for API consumption. This gem allows for that while keeping compatibility with existing rails API