reduced testToJson to first char