Add own bean to write to elastic search