an api server mockup; return json; file saved as .json;