removed render json function and instead use flattened object to render page.
added option to dis/allow markdown