vitamin rendering rewritten to use new json db