def success(self, data):
self.write({'<STR_LIT:status>': '<STR_LIT:success>', '<STR_LIT:data>': data})<EOL>self.finish()<EOL>
When an API call is successful, the JSend object is used as a simple
        envelope for the results, using the data key.

        :type  data: A JSON-serializable object
        :param data: Acts as the wrapper for any data returned by the API
            call. If the call returns no data, data should be set to null.