fixed NPE caused by: http://bugs.sun.com/view_bug.do?bug_id=6427854
ISPN-3071 Make the DefaultTwoWayKey2StringMapper support byte[]
ISPN-3016 REST Metadata headers