Data collection script will not give us valid json