add JSON loader/writer.
add context control