Low level JSON utilities.