Fixed NPE when processing splitted shards of text, If metadata has entry "key" with null value will cause NPE More detailed information provided in https://github.com/spring-projects/spring-ai/issues/1571

Comment From: tzolov

Thank you @ogbozoyan rebased, squashed and merged at 8b1882b2244953ef0735227d4a5525b1b5479eba