Fixes parsing for empty objects.