fast and smart citation reference parsing