add cast for manifest attribute name
minor fixes: allow quotes in attr values, proper casting