Fixed all scalar considered as strings. Now detects bool, int and float.