stopped using .json data as it screwed everything up, fixes #20 (with a hack)