Don't stringify dynamic attribute values

closes #1358