SCRIB-1016 add function which takes in an array of JSON post information and returns an array of content html for them