bug fixing

changed the .json to .json() for it to work in ubuntu !