Logs some json to file