Move CSL JSON conversion from utilities.js to cite.js, following 4.0 branch