extract JSON into test resources, fix tests