Remaining json functions.