Removed as_json from Element and Collection