fix: accept results from getPatterns without .toJSON method
fix: accept results from getPatterns without .toJSON method

* when using the static cache in production getPatterns reads from json
* files
* it returns objects without a .toJSON method, causing the pattern route
* to fail

sinnerschrader/patternplate-server