Command can be encoded and casted to json and array

- It implements Laravel's ArrayableInterface

- It can be encoded to json through php's native JsonSerializable interface

- It can be converted to json through Laravel's JsonableInterface

- It can be casted to a json string through php's __toString()