Added function for constructing required JSON format