Merge branch 'release-0.5'
Corrected for empty items now outputs {"collection":{"items":[]}}.
Fixed the error output, now nested inside {"collection":{}}.
Version bumped from 0.5 to 0.5.1
Merge branch 'release-0.5.1'