Casting attribute values given as string

So far only specs are available. Wait for implementation, then merge ;-)