Append the 'hour' attribute to json value