Properly escaping json placeholder values

Caused problems with double quotes in replacement values for placeholders