implemented parsing of objects, arrays and strings