make it clear what types we consider json safe