They might even query records as JSON, if the database supports it, and skip encoding in the application altogether.