Using json_encode() on ticket json sctipts.