Document num and arraykey types.
Merge pull request #379 from int3/scalar-unions

Document num and arraykey types.