add omitempty and better json name for profiles.