iterates schema and json data; displays type string