Allows the toJSON() SQL method to accept format parameter like the ODocument.toJSON() API
Merge branch 'master' of https://github.com/giastfader/orientdb