adds data dir and change ext to .json - come on Travis!