Module to generate JSON from JCR data