fix project/repo to_json output