Don't use deprecated Jackson methods
Update rest api to be compatible with api v28