Encapsulating strings in single quotes is not valid JSON. Change to double quotes
Remove trailing comma for foreground flag and convert to double quotes
Merge pull request #91 from chriswiggins/json_fix

JSON fix