Adds parsing for empty objects. Fixes #4