pub fn map_to_environment(
    env: &JNIEnv<'_>,
    environment: &JByteArray<'_>
) -> SdkJniResult<Environment>