Updated attributes typecasting
Added embed value spec and example