switched to the new json helper class