Gov't pursuing legislation to formalise restorative justice