In PHP arrays elements may have custom keys:
PHP Code:
array("Color" => "Yellow", "Size" => "S")
In JavaScript (JSON comes from there) arrays have no keys, so arrays with keys translate from PHP to JSON as objects:
Code:
{"Color":"Yellow", "Size":"S"}
There is nothing wrong in doing that and you won't get any benefits by wrapping the object into an extra array (that will always contain a single element only).