fixed array to object
array to ojbect
cleanup
Merge pull request #237 from cjemagid/3.0-beta

fixed array to object