Modified as_json for more information