Hi,
When that last field in your json configuration is empty string when the pattern is rendered, you get warning message about "odd number of hash elements" because the split function silently omits the last value if it's empty. You can pass "-1" as additional parameter to the split function, to instruct it not to omit last value if it's empy.
This behaviour also results in the value beeing "null" instead of an empty string in the json output. Please fix accordingly.
Best regards,
Marc