added support for child objects, arrays, doubles, ints, boolean and null