Use publish_serialized instead of receive_raw

receive_raw was replaced by publish_serialized in 1.2.0. This changes elasticsearch_river to use the right function.