Fix parsing empty object default values in functions
This could probably be done in a more universal way to support non-empty objects as default parameter, but this fixes the issues known to me for now. I hope that's fine.
Edited by Jonah Brüchert