FoundationDB/sql-layer — pull request #1293 by MMcM (2014-05-13 21:41:21+00:00)
Title: Use normal type conversion for JSON output from a routine

There is no guarantee that the immediate result of a script invocation is of the desired type (and no practical way to guarantee given that most are dynamically typed).

There are no session controls for things like binary format which need to be obeyed.