Fix: 5b10c4c introduced 'Cannot use object of type stdClass as array'
Merge pull request #57 from bwood/master

Fix: 5b10c4c introduced 'Cannot use object of type stdClass as array'