Thank you! This is really useful. Finding a reliable source of words and their translations (that I could turn into a json) was the hardest part of building this.
Google gives you 80% right translations, a more reliable dictionary is PONS (http://de.pons.com/%C3%BCbersetzung). It also has an API, but you can only shoot 1000 free queries a month.
Another good dictionary is dict.leo.org, but unfortunately there is no API.
A last good option is dict.cc; you can download their corpus and use it programmatically with tools like this: https://github.com/cofi/PDictCC
Thanks both!
EDIT: or add a comment/vote function and hope that many visitors converge to a good set ;)