CS, should be written:
```php
return json_encode(
    array(
        'login' => $this->attribute( 'login' ),
        // ...
    )
);
```