chore(*): implement toArray() method
fix(*): comply to PSR-1, PSR-2 and PSR-4
chore(*): added missing extra key/value