Allow RegExp by relying on egeloen/json-builder

This PR fixes #100 by relying on the egeloen/ivory-json-builder library in order to keep control of the JSON escaping strategy.