Implement ArrayAccess and JsonSerializable
Implement ArrayAccess and JsonSerializable

- Implemented ArrayAccess and JsonSerializable for models
- Moved some methods around

jal617b/Adldap2,Adldap2/Adldap2,ciadch/Adldap2,kichetof/Adldap2