write Query#json
merge query response jsons
write simple HTTP response
remove PreparedQuery code
HTTPWriter
proper JSON error messages
write json response directly into output buffer
stream response directly from query buffer