Added getHistAsJson function