Congratulations, you've reinvented Bibtex.

From the Mendeley official blog:


The most laborious part of any research paper for me, and probably for many of you, is making sure that the references are formatted in the proper style. Is the title supposed to be in italics? Do I need a period or a comma here? It has always seemed like exactly the kind of thing that a computer should be able to do for me, and now with Mendeley it can.

Nice to see that they're catching up with 1985 technology.  Yet mystifying why they choose to write their own rather than adopt what is already widely used.