require 'json' for standalone rack app