convert ips to bytesRef if loaded from fieldcache

currently there is no clean way to differentiate between
internal storage format and output format.

So in order to handle ips we need to change them to the
expected output format for now.

(cherry picked from commit c84b94018b18ca0982f3ab62c1a6641225d2e91e)

Conflicts:
	CHANGES.txt