extract test patterns as JSON objects in a node module