add mapper and deprecate JSONConverter