Return actual JSON from a SQLite database rather than a string.