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