Improve error handling.
Cache templates on initialization.
Fix syntax errors.
Improve error handling and protect URL/paths from writing anywhere.
Extract error handling into handler function.
Beginnings of tests.
Testing json response.
Converting byte array to string via a JSON formatting struct.
Improve quote escaping.