Modify as_json