Fixing some errors in the mono json parser workaround