fix bug for serialization

fix bug for serialization with special fields like “index”
Update admin style