Ensuring 'empty' objects and lambdas can be parsed