Fixes map_fields behaviour in riemann output plugin

Currently, the riemann output plugin will crash with the `map_fields` option set to `true`. This is a proposed fix.