Cast attributes based upon their schema definitions when applicable