add RequestHeaders to ToDetailsJson()