Basic JSON handler library.