json takes priority on data type adaption