# Functions
DecodeJSONToTargetStruct maps JSON from a HTTP request to a struct.
ErrorMap turns the supplied error into a map with "error" as the key.
WriteJSONResponse writes the content supplied via the `source` parameter to the supplied http ResponseWriter.