getting some basic array support in api layer