Adding the ability to inject a custom JSON decode function into the lexer