Removed totalJSON nonsense