We always use JavaConverters instead of JavaConversions, but the added immutableMap will not be needed with my proposed changes of the java api