Is this an internal API? If so, should it be private? If it's public, we should do some kind of sanity checking around `groovy_variable_name`, since it gets directly injected directly