$data = {
          'employee' => [
                          {
                            'department' => 'Operations',
                            'name' => 'John Doe',
                            'sex' => 'M',
                            'age' => '43'
                          },
                          {
                            'department' => 'Accounts',
                            'name' => 'Jane Doe',
                            'sex' => 'F',
                            'age' => '31'
                          },
                          {
                            'department' => 'Human Resources',
                            'name' => 'Be Goode',
                            'sex' => 'M',
                            'age' => '32'
                          }
                        ]
        };