Fixed up the json handler, hit a roadblock on serializing erlang date structures to json.