* fix json parser crashing on empty input * make implicit cast of tagged unions to enums easier to find in docs