Added extends and implements to OopToJson