Removed dynamic invocation for bson keypacker, new code a little messier, but MAY be possible to AOT compile now.