[Java]: Perform a dynamic decode of group and var data headers to allow different types by field specification as per issue #60.