Make characterize work with json sample