include java_import into helpers

was found as part of testing of undocumented agent API for editing environment & resource. @jyotisingh found the fix.