stubs user request to return json as API does