Add spray json as a dependency

This will let me serialize case classes to json, so I can use generators
Better string literal checking

Because strings containing a single quote or ending in a slash
result in invalid JS