get ride of hardcoded token parsing

@imlucas 
fixes this issues: https://github.com/imlucas/mongodb-log/issues/25

parse was incorrectly parsing because it had hardcoded positions for parsing so the fix was to get ride of the hardcoded positions and make them dynamic