parseLiteral returns boolean type in case 'false' or 'true'