Move common operations to service super class
Code is now optional in services

A passthrough adapter doesn't have code.
Remove code from sub-class
Move to_json to super-class
Declare methods as abstract