Adding support for list or sub array.

Example data : @MenuData {"root":{"child":{"arraychild":[0,1,2,3]}}, "arraysroot" : [1,2,3]}
Output:                          
                        [menudata] => stdClass Object
                                (
                                    [root] => stdClass Object
                                        (
                                            [child] => stdClass Object
                                                (
                                                    [arraychild] => Array
                                                        (
                                                            [0] => 0
                                                            [1] => 1
                                                            [2] => 2
                                                            [3] => 3
                                                        )

                                                )

                                        )

                                    [arraysroot] => Array
                                        (
                                            [0] => 1
                                            [1] => 2
                                            [2] => 3
                                        )

                                )