A library to help with building an RPC-like JSON API