support non string values

cc @sectioneight this is the cause of your boolean as string bug

cc @sh1mmer