json is now working