Editing Jsonify to be a static method

Sending json strings to the template