instance methods redefined as class methods; first step toward #9
Move class methods into a utility module and extend
Spec for util collection; type checking for JSON return closes #6
Specs for RestService corrected; completes #9