return enumerated array

This need fixing asap since we get a json object when
encoding a hash. A proper fix for this will be available
when we get the rest stuff down.
Merge branch 'hotfix/0.2.1'