Added the feature to receive JSON object that contains all metering information - also completed the PDF creator