Array and dictionary in custom object