Simple tools to build JSON format responses