Removed params from as_json().