json.extract! @obj, :id, :obj_class_name