Helper functions for the basic types of the untyped Json writer API - which can be used for #32