Condition the custom serialization on the existance of JSON
Update LKG