[fix] Dictionary and list issues

Fixed bug causing collection validation to fail for [] values
Accept strings types, fix int collection