Implement codec for object server