Added json so everything works in 1.8.7