Fix double callback in `loadFromJSON` if objects.length == 0. Closes #1056