Add function for parsing master server response