support for bool, int, string, simple arrays