Reverted depth limitation for JSON serialisation as it breaks some UI features