fix get_relationships double to_json