remove old as json method from attributes definition as this is replaced by the nested serializer