Reduce cut-n-paste necessary for service auth; add resource utils for json validation.