adding json headers to doxygen and updating the docs accordingly.