json.extract! @planet, :name, :created_at, :updated_at