Add JSON api to grunt file