Fix link_extension not getting included in to_json