Fixed NullPointerException when serializing content type with no super type